package com.youxin.foundation.db.redis;

import redis.clients.jedis.JedisCommands;

/**
 * 
 * @author yingde.cao
 * redis执行命令接口
 * @param <T>
 */
@FunctionalInterface
public interface JedisCommandsable<T extends JedisCommands> {
	/**
	 * 执行命令方法
	 * @param t 泛型类 Jedis/JedisCluster
	 */
	void execute(T t);
}
